<%= render :partial => "nav_bar" %>
<%= render :partial => "layouts/top_stories" %>
<div class="left_articles">
<!-- BEGIN CONTENT -->

<h2>Member Listing</h2>
<BR>
<center>
<table width=90% cellpadding=3>
<tr bgcolor=#333 style="color:white;">
<td><b>User ID</b></td>
<td><b>Username</b></td>
<td><b># Stories</b></td>
<td><b>Profile</b></td>
</tr>
<% @count = 1 %>
<% for user in @users %>
  <% @count = @count + 1 %>
  <% if @count % 2 == 0 %>
    <%= '<tr bgcolor=#fff>' %>
  <% else %>
    <%= '<tr bgcolor=#eee>' %>
  <% end %>
  <td><%= user.id %></td>
  <td><%= user.login %></td>
  <td><%= user.get_stories_from_lines.length %></td>
  <td><%= link_to '[view profile]', user %></td> 
  </tr>
<% end %>
</table>
</center>

<!-- END CONTENT -->
</div>
</div>
<%= render :partial => "layouts/right_bar" %>